package com.xitang.common.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.SuperBuilder;

@Data
@SuperBuilder
@ApiModel(description = "分页查询实体类")
public class PageQueryReq {
    @ApiModelProperty("页码")
    protected Integer pageNo = 1;
    @ApiModelProperty("页面大小")
    protected Integer pageSize = 10;
    @ApiModelProperty("排序字段")
    protected String sortBy = "";
    @ApiModelProperty("是否升序")
    protected Boolean isAsc = true;
}
